package com.gzhryc.shared_device.cdcz.code;

import com.gzhryc.shared_device.cdcz.code.dao.db.ChargeSocket;
import com.gzhryc.shared_device.cdcz.code.dao.db.ChargeSocketSlot;

/**
 * 充电插座缓存管理
 * @version 2023-03-03
 */
public interface ICDCZCacheManager {

    public ChargeSocket getChargeSocket(String deviceSn);

    public void saveChargeSocket(ChargeSocket chargeSocket);

    public void removeChargeSocket(String deviceSn);

    public ChargeSocketSlot getChargeSocketSlot(String deviceSn,Integer slotNum);

    public void saveChargeSocketSlot(ChargeSocketSlot chargeSocketSlot);

    public void removeChargeSocketSlot(String deviceSn,Integer slotNum);

    public void removeChargeSocketSlot(String deviceSn);

}
